home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
COMPILER
/
VP10B003
/
VPC
/
BIN
/
VPVIO.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1995-06-21
|
701b
|
25 lines
@ECHO OFF
REM ********************************************
REM * Compiles and links text mode application *
REM ********************************************
IF "%1" == "/?" GOTO HELP
IF "%1" == "-?" GOTO HELP
IF "%1" == "" GOTO HELP
SET LINK386=/BAT /NOL /PM:NOVIO /BASE:0x10000 /A:4 /EXEPACK
SET LIB=%VPLIB%
VPC %1.PAS %2 %3 %4 %5 %6 %7 %8 %9
IF ERRORLEVEL 1 GOTO EXIT
LINK386 @%VPOUT%\%1.LNK;
GOTO EXIT
:HELP
ECHO Compiles and links text mode application. Invokes VPC and LINK386.
ECHO Usage: VPVIO PrgName [Options]
ECHO Where:
ECHO PrgName Name of the program file without path and extension
ECHO Options One or several valid VPC command line switches
:EXIT